/* 通用 */

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
}

#app {
    width: 100%;
    height: 100%;
}

/* 垂直 Flex 布局 */

.flex-col {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden !important;
}

.flex-col > .flex-col-fixed {
    flex-shrink: 0;
}

.flex-col > .flex-col-auto {
    flex: 1;
    height: 100%;
    overflow: auto;
}

/* 水平 Flex 布局 */

.flex-row {
    display: flex;
    width: 100%;
    overflow: hidden !important;
}

.flex-row > .flex-row-fixed {
    flex-shrink: 0;
}

.flex-row > .flex-row-auto {
    flex: 1;
    width: 100%;
    overflow: auto;
}

.flex-row-center-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.flex-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 行高 */

.line-height-1 {
    line-height: 1;
}
